package com.o2o.model.topic;

import java.util.Date;

import com.o2o.base.BaseModel;

public class TopicDealerProduct extends BaseModel {

	/**
	 * 主题帖入驻商家商品信息表
	 */
	private static final long serialVersionUID = 2231672670202819484L;
	
	private long id;
	
	private long userId;//用户id
	
	private long topicId;//主题帖id
	
	private float productPrice;//商品价格
	
	private int saleNum;//销售的数量
	
	private int good;//赞的数量
	
	private int bad;//反对的数量
	
	private Date joinTime;//商家入驻时间
	
	private int grade;//评分,满分100
	
	private String productDetail;//商品详细展示
	
	private int provinceCode; //商家商品省级code
	
	private int cityCode;//市级code
	
	private int areaCode;//区域code
	
	private String address;//小区街道地址
	
	
	
	

	public int getProvinceCode() {
		return provinceCode;
	}



	public void setProvinceCode(int provinceCode) {
		this.provinceCode = provinceCode;
	}



	public int getCityCode() {
		return cityCode;
	}



	public void setCityCode(int cityCode) {
		this.cityCode = cityCode;
	}



	public int getAreaCode() {
		return areaCode;
	}



	public void setAreaCode(int areaCode) {
		this.areaCode = areaCode;
	}



	public String getAddress() {
		return address;
	}



	public void setAddress(String address) {
		this.address = address;
	}



	public long getId() {
		return id;
	}

	
	
	public String getProductDetail() {
		return productDetail;
	}



	public void setProductDetail(String productDetail) {
		this.productDetail = productDetail;
	}



	public int getGrade() {
		return grade;
	}



	public void setGrade(int grade) {
		this.grade = grade;
	}



	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getTopicId() {
		return topicId;
	}

	public void setTopicId(long topicId) {
		this.topicId = topicId;
	}

	public float getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(float productPrice) {
		this.productPrice = productPrice;
	}

	public int getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(int saleNum) {
		this.saleNum = saleNum;
	}

	public int getGood() {
		return good;
	}

	public void setGood(int good) {
		this.good = good;
	}

	public int getBad() {
		return bad;
	}

	public void setBad(int bad) {
		this.bad = bad;
	}

	public Date getJoinTime() {
		return joinTime;
	}

	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}
	
	
	
	

}
